//
//  Tools.h
//  Bus
//
//  Created by wangjiajia on 13-7-30.
//  Copyright (c) 2013年 wangjiajia. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MBProgressHUD;


@interface Tools : NSObject
//显示指示器
+ (void)showHUD:(NSString *)text andView:(UIView *)view andHUD:(MBProgressHUD *)hud;
//是否具备网络
+(BOOL)isExistenceNetwork;

//顶部弹出提示
+ (void)toastNotification:(NSString *)text andView:(UIView *)view andLoading:(BOOL)isLoading andIsBottom:(BOOL)isBottom;

+(void)toastNotification:(NSString *)text andView:(UIView *)view andLoading:(BOOL)isLoading andIsBottom:(BOOL)isBottom andHideTime:(NSTimeInterval) time;

@end
